package com.kws.tool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.tool.dto.QueryMeasureToolRq;
import com.kws.tool.dto.info.QueryMeasureToolInfo;
import com.kws.tool.entity.TbMeasureTool;
import org.apache.ibatis.annotations.Param;

public interface MeasureToolMapper extends BaseMapper<TbMeasureTool> {
    Page<TbMeasureTool> queryMeasureToolPage(@Param("page") Page<TbMeasureTool> page, @Param("query") QueryMeasureToolRq query);

    QueryMeasureToolInfo queryMeasureToolById(@Param("id") Long id);
}
